﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MethodWorx.Core.DomainModel;

namespace MethodWorx.CMS.Membership
{
    public class Role: AggregateRoot
    {
        public string Name { get; set; }
        public virtual IEnumerable<RolePermission> Permissions { get; private set; }

        public Role()
        {
            this.Permissions = new List<RolePermission>();

        }
    
    }


}
